class Restaurant():
    def __init__(self,restaurant_name,cuisine_type):
        self.restaurant_name=restaurant_name
        self.cuisine_type=cuisine_type
        self.number_served=0
        self.flavors=["水草冰淇淋","西瓜冰淇淋","草莓冰淇淋"]
    def describe_restaurant(self):
        return self.restaurant_name+"的美食类型为"+self.cuisine_type+"现在有"+str(self.number_served)+"人正在吃饭"
    def open_restaurant(self):
        print(self.restaurant_name+self)
    def set_number_served(self,number):
        self.number_served=number
    def increment_number_served(self):
        self.number_served+=4
class IceCreamStand(Restaurant):
    def __init__(self,name,type):
        super().__init__(name,type)
    def display_flavors(self):
        i=0
        while i<len(self.flavors):
            print(self.flavors[i])
            i+=1